/*
 * EntertainerMidlet.java
 *
 * Created on 4 de Junho de 2007, 20:29
 */

package com;

import com.ValueObjects.Filme;
import com.view.CinemasForm;
import com.view.CompraForm;
import com.view.MainMenu;
import com.view.MovieForm;
import com.view.MovieRoomsForm;
import com.view.RegiaoForm;
import com.view.SearchForm;
import com.view.SearchResultMovieForm;
import com.view.ServicesMenu;
import com.view.SplashScreen;
import com.view.TestCanvasForm;
import com.view.RankingForm;
import java.util.Vector;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;

/**
 *
 * @author  $Leandro$
 * @version
 */
public class EntertainerMidlet extends MIDlet {
    
    public MainMenu formMenu;
    
    public int idCurrentFilme;
    
    public ServicesMenu formServices;
    
    public RankingForm formTop;
    
    public SearchForm formSearch;
    
    public RegiaoForm regiaoForm;
    
    public CinemasForm cinemaForm;
    
    public SearchResultMovieForm moviesForm;
    
    public Vector movies;
    
    public Vector top10;
    
    public Display display;
    
    public SplashScreen introForm;

    public MovieRoomsForm salasForm;
    
    public CompraForm compraForm;
    
    public MovieForm movieForm;

    public Filme currentMovie;

    public void startApp() {
        formMenu = new MainMenu(this);
        display = Display.getDisplay(this);
        introForm = new SplashScreen(display,formMenu);
    }
    
    public void pauseApp() {
    }
    
    public void destroyApp(boolean unconditional) {
        notifyDestroyed();
    }
}
